package com.contract.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.content.persistence.RightTypeMapper;
import com.contract.model.PlanType;
import com.contract.model.RightType;
import com.contract.service.RightTypeService;

/**
 * 
 * @author tanglei
 *
 */
@Service
public class RightTypeServiceImpl implements RightTypeService 
{
    @Autowired
    RightTypeMapper rightTypeMapper;
    
    public List<RightType> getRightTypeA(Map map)
    {
       return  rightTypeMapper.getRightTypeA(map);
    }
    public List<RightType> getRightTypeB(Map map)
    {
        return  rightTypeMapper.getRightTypeB(map);
    }
	@Override
	public List<RightType> queryRightTypeA(Map<String, String> maprightTypeAID) {
		return rightTypeMapper.queryRightTypeA(maprightTypeAID);
	}
	@Override
	public List<RightType> queryRightTypeB(Map<String, String> maprightTypeBID) {
		return rightTypeMapper.queryRightTypeB(maprightTypeBID);
	}
    
}
